package com.hn658.base.message.notification.msg.dao.mongo;

import com.hn658.base.message.notification.msg.entity.MessageEO;
import com.hn658.framework.dataaccess.mongo.IAbstractMongoDBDao;
import com.hn658.framework.dataaccess.pagination.GenericPage;

import java.util.List;
import java.util.Map;

/**
 * Created by baihai on 2015/11/24.
 */
public interface IMessageMongoDBDao extends IAbstractMongoDBDao<MessageEO> {

    Long getCount(Map<String, Object> queryParam);

    GenericPage<MessageEO> queryPage(Map<String, Object> queryParam, int pageSize,
                                   int startIndex, String orderBy, boolean isAsc);

    List<MessageEO> queryList(Map<String, Object> queryParam);
    
    Long getMaxId();

}
